switch (foo) {
    case 1:
        doSomething();
        break;
    case 2:
        doSomethingElse();
}
switch (foo) {
    case 1:
    case 2:
        doSomething();
}
